package com.fare.taluo.application.freight;

import java.util.Date;
import java.util.List;

import com.fare.taluo.vo.core.FreightPriceAnalyseAlertConfigVo;
import com.fare.taluo.vo.freight.FreightMonitorSettingsVO;
/*
 * @xiaozhi
 * Email:ganhongzhi@foreveross.com
 * this is 运价监控设置 FreightMonitorSettingsVO
*/
public interface FreightMonitorSettingsApplication {
	/*
	 * 初始化页面数据
	*/
	public List<FreightMonitorSettingsVO> findFreightMonitorVO(String currentUser) throws Exception;
	/*
	 * 删除其中一条数据
	*/
	public void delete(Long id);
	/*
	 * 根据条件查询数据
	 * queryDate:航班出发日期
	 * toQueryDate：航班到达日期
	 * fromCity：出发城市
	 * toCity：到达城市
	 * createTime：创建日期
	 * toCreateTime:创建日期
	*/
	public List<FreightMonitorSettingsVO> findLineByConditions(Date queryDate,Date toQueryDate,String fromCode,String toCode,Date createTime,Date toCreateTime,String currentUsers);
	/*
	 * 把下列数据插入到数据fdc_flight_monitor表中
	 * queryDate:航班日期
	 * fromCity：出发城市
	 * toCity：到达城市
	 * createTime：创建日期为当前日期
	 * careLine:航线
	 */
	public void saveMonitors(FreightMonitorSettingsVO vo);
	/*
	 * 根据ID查询所有数据
	 * @id
	 */
	 public FreightMonitorSettingsVO getMonitorById(Long id);
	 
	 /*
	 * 修改插入数据库
	 * @id
	 */
	 public void saveOrUpdate(FreightMonitorSettingsVO fcVo) throws Exception;
}
